package org.jeecg.modules.demo.seal.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;


@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class CarSeal {

    /**车辆id*/
//    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "车辆id")
    private Integer carId;
    /**车牌号*/
    @Excel(name = "车牌号", width = 15)
    @ApiModelProperty(value = "车牌号")
    private String plateNumber;
    /**车架号*/
    @Excel(name = "车架号", width = 15)
    @ApiModelProperty(value = "车架号")
    private String carVinNo;
    /**品牌车型id*/
    @Excel(name = "品牌车型id", width = 15)
    @ApiModelProperty(value = "品牌车型id")
    private Integer  brandModelId;
    /**品牌*/
    @Excel(name = "品牌", width = 15)
    @ApiModelProperty(value = "品牌")
    @TableField(exist = false)
    private String brand;
    /**车型*/
    @Excel(name = "车型", width = 15)
    @ApiModelProperty(value = "车型")
    @TableField(exist = false)
    private String model;
    /**车体颜色*/
    @Excel(name = "车体颜色", width = 15)
    @ApiModelProperty(value = "车体颜色")
    private String carColor;
    /**所属部门*/
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private Integer orgId;
    /**所属部门*/
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private String departName;


    /**封存id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private String id;
    /**上交钥匙  0:否  1:是*/
    @Excel(name = "上交钥匙", width = 15)
    @ApiModelProperty(value = "上交钥匙")
    private int carKey;
    /**封存状态  0:否  1:是*/
    @Excel(name = "封存状态", width = 15)
    @ApiModelProperty(value = "封存状态")
    private int sealStatus;
    /**封存照片*/
    @Excel(name = "封存照片", width = 15)
    @ApiModelProperty(value = "封存照片")
    private String sealImg;
    /**封存位置*/
    @Excel(name = "封存位置", width = 15)
    @ApiModelProperty(value = "封存位置")
    private String position;
    /**封存时间*/
    @Excel(name = "封存时间", width = 15)
    @ApiModelProperty(value = "封存时间")
    private Date sealTime;
    /**解存时间*/
    @Excel(name = "解存时间", width = 15)
    @ApiModelProperty(value = "解存时间")
    private Date unblockTime;
    /**延迟原因*/
    @Excel(name = "延迟原因", width = 15)
    @ApiModelProperty(value = "延迟原因")
    private String reason;
    @Excel(name = "所属机构id", width = 15)
    @ApiModelProperty(value = "所属机构id")
    private String departId;



    /**是否延迟 0:否  1:是*/
    @Excel(name = "是否延迟", width = 15)
    @ApiModelProperty(value = "是否延迟")
    private Integer isdelay;
}
